package com.weixing.mall.provider.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.weixing.mall.core.support.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 仓库模块-调拨单货品表
 * </p>
 *
 * @author Small
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_goods_trans_bill_product")
public class GoodsTransBillProduct extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 调货单id
     */
    private Long goodsTransId;

    /**
     * 货品id
     */
    private Long productId;

    /**
     * 商品货号
     */
    private String productSn;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 规格
     */
    private String spec;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 库位
     */
    private String storehouse;

    /**
     * 乐观锁
     */
    private Integer revision;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private Long updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;


    private String styleNo;

    /**
     * 零售价
     */
    private BigDecimal discountPrice;

    private  String productImg;

    /**
     * 货号
     */
    private String goodsSn;

    /**
     * 订单编号
     */
    private  String orderSn;

    private Long stockId;

    private String stockSn;

    private String orderType;

    private String fl;

}
